package com.itheima.service;



import com.itheima.domain.Student;

import java.util.List;


public interface StudentService {


    //查询所有
    List<Student> findAll();

    //保存
    void save(Student student);

    //根据id查询
    Student findById(Integer id);

    //修改
    void update(Student student);

    //删除学生
    void deleteById(Integer id);

}
